Definition:
- Tests that will pass or fail without you changing anything
Code Example:
first(".active").click
all(".active").each(&:click)
execute_script("$('.active').focus()")
expect(find_field("Username").value).to eq("Joe")
expect(find(".user")["data-name"]).to eq("Joe")
expect(has_css?(".active")).to eq(false)
References:
Quality attributes
- :octicon:`file-code;1em` - Code Example
- :octicon:`comment-discussion;1em` - Cause and Effect
- :octicon:`graph;1em` - Frequency
- :octicon:`sync;1em` - Refactoring